/*
 *  Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package com.plian.system.entity.yth.finance;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.NullSerializer;
import com.plian.system.entity.yth.YthBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 债务管理-债务余额结构详情实体类
 *
 * @author BladeX
 * @since 2023-02-08
 */
@Data
@TableName("finance_debt_structure_detail")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "DebtStructureDetail对象", description = "债务管理-债务余额结构详情")
public class DebtStructureDetail extends YthBaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 债务余额结构id
     */
    @ApiModelProperty(value = "债务余额结构id")
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private Long debtStructureId;
    /**
     * 债务项目id
     */
    @ApiModelProperty(value = "债务项目id")
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private Long debtProjectId;
    /**
     * 项目性质（0:政府性项目, 1:自营性项目）
     */
    @ApiModelProperty(value = "项目性质（0:政府性项目, 1:自营性项目）")
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private Integer projectNature;
    /**
     * 建成项目竣工决算数
     */
    @ApiModelProperty(value = "建成项目竣工决算数")
    private String completeCount;
    /**
     * 项目实际财务支出
     */
    @ApiModelProperty(value = "项目实际财务支出")
    private BigDecimal actualFinanceExpend;
    /**
     * 财政性资本金（项目实际取得）
     */
    @ApiModelProperty(value = "财政性资本金（项目实际取得）")
    private BigDecimal actualFinanceFund;
    /**
     * 股东资本金（项目实际取得）
     */
    @ApiModelProperty(value = "股东资本金（项目实际取得）")
    private BigDecimal actualShareholderFund;
    /**
     * 债务资金合计
     */
    @ApiModelProperty(value = "债务资金合计")
    private BigDecimal totalDebtFund;
    /**
     * 项目借款（项目实际取得）
     */
    @ApiModelProperty(value = "项目借款（项目实际取得）")
    private BigDecimal actualProjectLoan;
    /**
     * 股东垫付资本金（项目实际取得）
     */
    @ApiModelProperty(value = "股东垫付资本金（项目实际取得）")
    private BigDecimal actualShareholderAdvanceFund;
    /**
     * 未来还需筹集的债务金额
     */
    @ApiModelProperty(value = "未来还需筹集的债务金额")
    private BigDecimal needDebtFund;
    /**
     * 实际要素平衡落实情况说明
     */
    @ApiModelProperty(value = "实际要素平衡落实情况说明")
    private String balancePlanDesc;
}
